﻿@model SQLResident.Models.AlertConfiguration

@{
    ViewBag.Title = "Delete";
}
<ul class="breadcrumb">
    <li><a href="@Url.Action("Index","Home")">Inicio</a> <span class="divider">/</span></li>
    <li><a href="@Url.Action("Index","AlertConfiguration")">Configuraciones de Alertas</a> <span class="divider">/</span></li>
    <li class="active">Eliminar</li>
</ul>
<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>AlertConfiguration</legend>

    <div class="display-label">Server</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Server.Name)
    </div>

    <div class="display-label">Alert</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Alert.Description)
    </div>

    <div class="display-label">NoticeType</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.NoticeType.Description)
    </div>

    <div class="display-label">ChannelType</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ChannelType.Description)
    </div>

    <div class="display-label">AlertDelayInMinutes</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.AlertDelayInMinutes)
    </div>

    <div class="display-label">Active</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Active)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
